<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //基本类型
        //string---字符串
        var str = '123'
        //Number---数字
        var num = 123
        //Boolean---布尔值
        var bol = true
        //null
        var test = null
        //undefined
        var test2 = undefined
        //symbol
        // var test3 = new Symbol()

        //引用类型
        //object---对象
        var obj = {}
        //Array
        var arr = []
        //Function---函数|方法
        var func =function(){}
        console.log(str)
        console.log(num)
        console.log(bol)
        console.log(test)
        console.log(test2)
        // console.log(test3)
        console.log(obj)
        console.log(arr)
        console.log(func)
    </script>
</body>
</html>